home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11594 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  874 b 

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP! ANSI-C Date Access
  5. Date: 22 Mar 96 22:35:51 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.827534151@rscernix>
  8. References: <4iv2he$pp1@pt9201.ped.pto.ford.com>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <4iv2he$pp1@pt9201.ped.pto.ford.com> rolfe@pt9520.ped.pto.ford.com (David Rolfe) writes:
  13.  
  14. >    Could someone tell me the ANSI-C method of accessing the
  15. >system date?  I've used _dos_getdate under the Borland C++ compiler
  16. >in DOS.  But I'd like to keep this version of my program ANSI-C
  17. >compatible. 
  18.  
  19. Then check time(), localtime() and gmtime() in your ANSI C book.
  20.  
  21. Dan
  22. --
  23. Dan Pop
  24. CERN, CN Division
  25. Email: danpop@mail.cern.ch 
  26. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  27.